<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/tag/localeTag.tld" prefix="t"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Q & A</title>
<link rel="shortcut icon" href="resources/images/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="resources/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="resources/css/style.css" />
<script type="text/javascript" src="resources/js/jquery-1.11.1.js"></script>
<script type="text/javascript" src="resources/js/jquery.validate.min.js"></script>
<script type="text/javascript" src="resources/js/bootstrap.js"></script>
<script type="text/javascript" src="resources/js/qanda.js"></script>
<!-- <script type="text/javascript" src="resources/js/registrationValid.js"></script> -->
</head>
<body>
	<jsp:include page="parts/header.jsp"></jsp:include>
	<jsp:include page="parts/navigation.jsp"></jsp:include>
	<div class="content">
		<jsp:include page="parts/leftmenu.jsp"></jsp:include>
		<div class="page">
			<form action="forgotPassword" class="form-horizontal" method="POST" id="account-data-form">
				<div class="col-xs-offset-1 col-xs-11">
					<h2>
						<t:locale mName="forgotPassword.title" />
					</h2>
				</div>
				<div class="form-group">
					<div class="col-xs-offset-1 col-xs-10">
						<label for="userEmail">
							<t:locale mName="forgotPassword.input" />
						</label>
						<input type="text" class="form-control" id="inputEmail" name="inputEmail" placeholder="<t:locale mName="email"/>">
						<c:if test="${errorMessage==1}">
							<span class="label label-danger">
								<t:locale mName="forgotPassword.notConfirmed" />
							</span>
						</c:if>
						<c:if test="${errorMessage==2}">
							<span class="label label-danger">
								<t:locale mName="forgotPassword.wrongEmail" />
							</span>
						</c:if>
					</div>
				</div>
				<div class="form-group">
					<div class="col-xs-offset-1 col-xs-11">
						<input type="submit" class="btn btn-info" value="<t:locale mName="forgotPassword.sendNewPassword"/>">
					</div>
				</div>
			</form>
		</div>
	</div>
	<jsp:include page="parts/footer.jsp"></jsp:include>
</body>
</html>
